An exploration of California oil spills drawn from the CA DFW Oil Spill Incident Tracking dataset. An interactive map shows the location of oil spill events.
An “incident” is considered “a discharge or threatened discharge of petroleum or other deleterious material into the waters of the state.” The Office of Spill Prevention and Response (OSPR) Incident Tracking Database is a statewide oil spill tracking information system. The data are collected by OSPR Field Response Team members for Marine oil spills and by OSPR Inland Pollution Coordinators and Wardens for Inland incidents.
#Read in the data for CA DFW oil spills
oil_spills_sf <- read_sf(here("data", "ds394.shp")) %>%
clean_names()
counties_sf <- read_sf(here("data", "ca_counties", "CA_Counties_TIGER2016.shp"))
counties_sf_subset <- counties_sf %>%
select(NAME, ALAND) %>%
rename(county_name = NAME, land_area = ALAND)
# Check CRS:
#counties_sf %>% st_crs()
#oil_spills_sf %>% st_crs()
# Set CRS of oil_spills to be same as counties
oil_spills_sf <- st_transform(oil_spills_sf, st_crs(counties_sf))
# Re-check CRS:
#oil_spills_sf %>% st_crs()
tmap to show the location of oil spill events in California.